Support for loading boards from specific file or URL#46
Conversation
|
The original approach has problem, that the boards.json is used only for linting and server does not read it. One approach would be to merge in runtime board json and diagram jsem before upload to the server. |
|
I've added new code which basically merges board.json for the specific board with diagram.json. This way we can simulate even custom board config. |
|
During the process of developing new boards, which are parts of new Raylib testing:
I hit several issues. Basically I need to add boards: https://github.com/georgik/wokwi-boards/pull/1/changes I've solved the diagram.json and boards.json mergin, for the server, but screenshot capability is now working, because it requires for the server to know the board layout. So fot the time being only known boards are generated into the gallery, while the rest is running whole boot up test https://github.com/georgik/esp-idf-component-raylib/blob/main/.github/workflows/build-and-test-examples.yml#L79 |
Added two CLI options:
This way the developer of boards can point
wokwi-clito the custom clone ofwokwi-boardsrepo or load it from custom URL.Example of usage:
What's your opinion about such options?